<?php

/**
 * 
 */
class Addreportfromlist extends CI_Controller {

    function __construct() {
        parent::__construct();
        $this->load->model('reports_model');
    }

    public function index() {

        $data['allCountries'] = $this->allCountries();



        $this->load->view('templates/header');
        $this->load->view('adding/reportFromList', $data);
        $this->load->view('templates/footer');
    }

    private function allCountries() {
        return $this->reports_model->fetchAllCountries();
    }

}

?>